.trend-edit-container {
  width: 100%;
  height: 100%;
  padding: 30rpx 0;
  display: flex;
  flex-direction: column;

  .textarea-container {
    padding: 0 6rpx;

    ::v-deep .u-textarea-class {
      max-height: calc(100vh - 90vw - 700rpx);
    }
  }

  .image-upload-container {
    padding: 30rpx;
  }

  .menu-container {
    padding: 10rpx 0;

    .menu-item {
      width: 100%;
      display: flex;
      flex-direction: column;
      //border-top: 2rpx solid #f1f1f1;

      .select-position-container {
        min-height: 40rpx;
        display: flex;
        flex-direction: row;
        align-items: center;
        margin: 30rpx 0;
        padding: 0 40rpx;
        font-size: 32rpx;
        color: #333;

        .title-icon {
          flex-shrink: 0;
        }

        .title-text {
          margin-left: 24rpx;
          font-size: 28rpx;
        }

        .address-name {
          max-width: 50vw;
          margin-left: auto;
          margin-right: 20rpx;
          padding: 2rpx 24rpx;
          flex-shrink: 0;
          background-color: #f4756b;
          color: #fff;
          font-size: 28rpx;
          border-radius: 50rpx;
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
        }
      }

      .address-tips-container {
        margin-bottom: 30rpx;

        .address-tips {
          width: fit-content;
          display: flex;
          flex-direction: row;

          .tag {
            margin-right: 20rpx;
            padding: 6rpx 20rpx;
            display: flex;
            flex-direction: row;
            align-items: center;
            flex-shrink: 0;
            background-color: #f6f6f6;
            color: #555;
            font-size: 26rpx;
            border-radius: 50rpx;
            transition-property: color, background-color;
            transition-duration: 300ms;

            &:first-child {
              margin-left: 40rpx;
            }
          }

          .tag_selected {
            background-color: #f4756b;
            color: #fff;
          }

          .end {
            width: 20rpx;
            height: 40rpx;
            flex-shrink: 0;
          }
        }
      }

      &:last-child {
        //border-bottom: 2rpx solid #f1f1f1;
      }
    }
  }

  .button-container {
    width: 100%;
    height: fit-content;
    padding: 0 50rpx;
    padding-bottom: 40rpx;
    padding-bottom: calc(40rpx + constant(safe-area-inset-bottom));
    padding-bottom: calc(40rpx + env(safe-area-inset-bottom));
    margin-top: auto;

    .btn__default {
      width: 100%;
      height: 90rpx;
      background-color: #f4756b;
      border-radius: 100rpx;
      text-align: center;
      color: #fff;
      line-height: 90rpx;
      transition-property: opacity;
      transition-duration: 500ms;
    }

    .btn__available {
      opacity: 1;
    }

    .btn__unavailable {
      opacity: 0.3;
    }
  }
}